package com.open.capacity.finance.dao;

import com.open.capacity.finance.entity.SourceBasePay;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 支付数据查询表
 *
 * @author
 * @email
 * @date 2023-02-10 15:32:59
 */
@Mapper
public interface SourceBasePayDao {

    int save(SourceBasePay sourceBasePay);

    int deleteByCompanyIdAndKjnd(@Param("companyId") String companyId, @Param("kjnd") Integer kjnd);

    SourceBasePay findById(String id);

    List<SourceBasePay> findAll(Map<String, Object> params);

    List<SourceBasePay> findRepeatData(Map<String, Object> params);

    List<SourceBasePay> findZbzyData(Map<String, Object> params);

}
